package com.xhsj.user.cram.dto;

import com.google.common.collect.Lists;
import com.xhsj.user.generalprocess.entity.TbPamGeneralOpinionFile;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: liuqinghua
 * @Description:机房出入流程公共参数
 * @Data:2021/4/19
 */
@Data
public class ComputerRoomAccessApplyExamineDto {
    /**
     * 节点id
     */
    @NotNull(message = "节点id不能为空")
    private Long nodeId;

    /**
     * id
     */
    @NotNull(message = "id不能为空")
    private Long id;

    @NotNull(message = "processTaskId不能为空")
    private Long processTaskId;

    @NotNull(message = "status不能为空")
    private Integer status;

    private String opinionText;

    private List<TbPamGeneralOpinionFile> opinionFiles = Lists.newArrayList(); // 意见文件
}
